home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / splitit.arc / splititr.c < prev    next >
C/C++ Source or Header  |  1990-02-06  |  11KB  |  205 lines

  1. #include <aes.h>
  2.  
  3. static char p_to_nul[1] = "";
  4.  
  5. TEDINFO rs_tedinfo[] = {
  6.   {"SplitIt V1.1", p_to_nul, p_to_nul,
  7.      3,   0,   2, 4481,   0,   1,  13,   1},
  8.   {"(c) 1990 Spieu!Soft", p_to_nul, p_to_nul,
  9.      3,   0,   2, 4481,   0,   1,  20,   1},
  10.   {p_to_nul, "$2 Shareware... Gregory M. Lemperle-Kerr", p_to_nul,
  11.      5,   0,   0, 4481,   0,   0,   1,  41},
  12.   {p_to_nul, "2516 31st Ave. Ct., Moline IL 61265, USA", p_to_nul,
  13.      5,   0,   0, 4481,   0,   0,   1,  41},
  14.   {p_to_nul, "Created With:", p_to_nul,
  15.      5,   0,   0, 4481,   0,   0,   1,  14},
  16.   {"0064", "Smallest file in K: ____", "9",
  17.     3,   0,   0, 4481,   0,   0,   5,  25},
  18.   {p_to_nul, "Currently working with:", p_to_nul,
  19.      5,   0,   0, 4593,   0,   0,   1,  24}
  20. };
  21.  
  22. ICONBLK rs_iconblk[] = {
  23.   0L
  24. };
  25.  
  26. int bbk000[] = {
  27.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  28.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  29.   0x0000,0x0000,0x0003,0xf000,0x0000,0x0000,0x0000,0x0000,
  30.   0x000e,0x1800,0x0000,0x0006,0x0000,0x0000,0x0018,0x0c00,
  31.   0x0000,0x000c,0x0000,0x0000,0x0030,0x0200,0x0000,0x0070,
  32.   0x0070,0x0000,0x0060,0x0180,0x0000,0x00c0,0x00d0,0x0000,
  33.   0x00c0,0x00e0,0x0000,0x0380,0x0110,0x0000,0x0080,0x003c,
  34.   0x0000,0x0e00,0x0113,0x1800,0x0180,0x0007,0xe000,0x3800,
  35.   0x010f,0x3800,0x0100,0x0000,0x3fff,0xe000,0x010d,0x2800,
  36.   0x0100,0x0000,0x0000,0x0000,0x0108,0xc800,0x0100,0x0000,
  37.   0x0000,0x0000,0x0118,0xc800,0x0100,0x0000,0x0000,0x0000,
  38.   0x0010,0x8800,0x0100,0x0030,0x0000,0x0030,0x0011,0x8800,
  39.   0x0100,0x2670,0xf010,0x8230,0x0033,0x1800,0x0100,0x7e51,
  40.   0xf079,0xf230,0x0023,0x1000,0x0102,0x4451,0xc8c9,0x2220,
  41.   0x0027,0x1000,0x0186,0x4451,0x888f,0x6220,0x0046,0x2000,
  42.   0x00ce,0x8453,0x0988,0x4660,0x00cc,0x2000,0x003d,0x8477,
  43.   0x99c8,0x47e0,0x00c8,0x4000,0x0004,0x07cc,0xfb68,0x4f20,
  44.   0x0198,0xc000,0x0004,0x0000,0x0e30,0x7820,0x0110,0x8000,
  45.   0x0004,0x0000,0x0c00,0x0020,0x0230,0x8000,0x0004,0x0000,
  46.   0x1c00,0x0020,0x0220,0x8200,0x000c,0x0000,0x3400,0x0020,
  47.   0x0000,0xe000,0x0008,0x0fff,0xe400,0x0020,0x0000,0x0000,
  48.   0x0008,0x3600,0x6400,0x0020,0x0000,0x0000,0x0010,0x6000,
  49.   0x3c00,0x0030,0x0000,0x0000,0x0030,0xc000,0x1803,0xff10,
  50.   0x0000,0x0000,0x0027,0x0000,0x0ffc,0x01f0,0x0000,0x0000,
  51.   0x0064,0x0000,0x0000,0x0030,0x0000,0x0000,0x0058,0x0000,
  52.   0x0000,0x0010,0x0000,0x0000,0x0070,0x0000,0x0000,0x0000,
  53.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  54.   0x0000,0x000e,0x0000,0x0000,0x0000,0x0000,0x0000,0x000a,
  55.   0x0000,0x0000,0x0000,0x0000,0x0000,0x000a,0x0000,0x0000,
  56.   0x0000,0x0000,0x0000,0x0012,0x0000,0x0001,0x8000,0x0000,
  57.   0x0000,0x0012,0x0000,0x0002,0xc000,0x0000,0x0000,0x0012,
  58.   0x0000,0x0002,0x4000,0x0000,0x0000,0x0012,0x0000,0x0002,
  59.   0x4000,0x0000,0x0000,0x0014,0x0000,0x0002,0x4000,0x0000,
  60.   0x0000,0x01f8,0x0000,0x0002,0x4000,0x0000,0x0000,0x0010,
  61.   0x0000,0x0002,0x4000,0x0000,0x0000,0x0010,0x0000,0x0003,
  62.   0x4000,0x0000,0x0000,0x0010,0x0000,0x0001,0x5c00,0xf800,
  63.   0x0000,0x0011,0xc000,0x4701,0xd400,0x0000,0x0000,0x0011,
  64.   0x4671,0xe570,0x9400,0x0000,0x0000,0x01cb,0x47d3,0xb550,
  65.   0xd400,0x0000,0x0000,0x016b,0x4ad3,0x9650,0xdc00,0x0000,
  66.   0x0000,0x0131,0xcad7,0x96d1,0x6c20,0x0000,0x0000,0x017d,
  67.   0xf21d,0x969b,0x2c60,0x0000,0x0000,0x01c7,0x0001,0xff0e,
  68.   0x3f80,0x0000,0x0000,0x0000,0x0001,0x8000,0x0000,0x0000,
  69.   0x0000,0x0000,0x0001,0x8000,0x0000,0x0000,0x0000,0x0000,
  70.   0x0001,0x8000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,
  71.   0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,0x0000,
  72.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  73.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  74.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0f80,0x0000,
  75.   0x0000,0x0000,0x0000,0x0000,0x38c0,0x0000,0x0000,0x0000,
  76.   0x0000,0xe000,0x6040,0x0000,0x0000,0x0000,0x0003,0xa000,
  77.   0xc020,0x0000,0x0000,0x0000,0x0002,0x2001,0x8030,0x0000,
  78.   0x0000,0x0000,0x0002,0x2002,0x0010,0x0000,0x0000,0x0000,
  79.   0x0002,0x2006,0x0010,0x0000,0x0000,0x0000,0x0003,0x200c,
  80.   0x0018,0x0000,0x0000,0x0000,0x0000,0x2030,0x0008,0x0000,
  81.   0x0000,0x0000,0x0000,0x20e0,0x0008,0x0000,0x0000,0x0000,
  82.   0x0000,0x6180,0x0008,0x0000,0x0000,0x0000,0x0000,0x4300,
  83.   0x0004,0x0000,0x0000,0x0000,0x0000,0x8600,0x0004,0x0000,
  84.   0x0000,0x0000,0x0000,0x8400,0x0004,0x0000,0x0000,0x0000,
  85.   0x0000,0x9c00,0x0004,0x0000,0x0000,0x0000,0x0001,0xf03e,
  86.   0x3c04,0x0000,0x0000,0x0000,0x0001,0x8f24,0x2408,0x0000,
  87.   0x0000,0x0000,0x0003,0x4924,0x4c18,0x0000,0x0000,0x0000,
  88.   0x0002,0x5128,0x4810,0x0000,0x0000,0x0000,0x0006,0x5368,
  89.   0xc830,0x0000,0x0000,0x0000,0x0004,0x5ec9,0x88c0,0x0000,
  90.   0x0000,0x0000,0x0004,0x7f87,0x0f00,0x0000,0x0000,0x0000,
  91.   0x000c,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  92.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  93.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  94.   0x0000,0x0000,0x0000,0x0000
  95. };
  96.  
  97. BITBLK rs_bitblk[] = {
  98.   {bbk000,  0x000c, 0x005a, 0x0000, 0x0000, 0x0001}
  99. };
  100.  
  101. OBJECT rs_object[] = {
  102.   /* Tree #0*/
  103.   {  -1,   1,   6,0x0019,0x0000,0x0000, 0x00000000L,   0,   0,  90,  25},
  104.   {   6,   2,   2,0x0014,0x0000,0x0000, 0x00001100L,   0,   0,  90, 513},
  105.   {   1,   3,   5,0x0019,0x0000,0x0000, 0x00000000L,   2,   0,  21, 769},
  106.   {   4,  -1,  -1,0x0020,0x0000,0x0000, (long)" Desk ",   0,   0,   6, 769},
  107.   {   5,  -1,  -1,0x0020,0x0000,0x0000, (long)" File ",   6,   0,   6, 769},
  108.   {   2,  -1,  -1,0x0020,0x0000,0x0000, (long)" Utility ",  12,   0,   9, 769},
  109.   {   0,   7,  23,0x0019,0x0000,0x0000, 0x00000000L,   0, 769,  40,  19},
  110.   {  16,   8,  15,0x0014,0x0000,0x0000, 0x00ff1100L,   2,   0,  20,   8},
  111.   {   9,  -1,  -1,0x001c,0x0000,0x0000, (long)"  SplitIt 1.1  ",   0,   0,  20,   1},
  112.   {  10,  -1,  -1,0x001c,0x0000,0x0008, (long)"--------------------",   0,   1,  20,   1},
  113.   {  11,  -1,  -1,0x001c,0x0000,0x0000, (long)"1",   0,   2,  20,   1},
  114.   {  12,  -1,  -1,0x001c,0x0000,0x0000, (long)"2",   0,   3,  20,   1},
  115.   {  13,  -1,  -1,0x001c,0x0000,0x0000, (long)"3",   0,   4,  20,   1},
  116.   {  14,  -1,  -1,0x001c,0x0000,0x0000, (long)"4",   0,   5,  20,   1},
  117.   {  15,  -1,  -1,0x001c,0x0000,0x0000, (long)"5",   0,   6,  20,   1},
  118.   {   7,  -1,  -1,0x001c,0x0000,0x0000, (long)"6",   0,   7,  20,   1},
  119.   {  23,  17,  22,0x0014,0x0000,0x0000, 0x00ff1100L,   8,   0,  20,   6},
  120.   {  18,  -1,  -1,0x001c,0x0000,0x0000, (long)"  Q  Quit  ",   0,   4,  20,   1},
  121.   {  19,  -1,  -1,0x001c,0x0000,0x0000, (long)"  S  SplitIt!  ",   0,   1,  20,   1},
  122.   {  20,  -1,  -1,0x001c,0x0000,0x0008, (long)"--------------------",   0,   0,  20,   1},
  123.   {  21,  -1,  -1,0x001c,0x0000,0x0008, (long)"--------------------",   0,   3,  20,   1},
  124.   {  22,  -1,  -1,0x001c,0x0000,0x0000, (long)"  J  JoinIt!  ",   0,   2,  20,   1},
  125.   {  16,  -1,  -1,0x001c,0x0000,0x0008, (long)"--------------------",   0,   5,  20,   1},
  126.   {   6,  24,  29,0x0014,0x0000,0x0000, 0x00ff1100L,  14,   0,  20,   6},
  127.   {  25,  -1,  -1,0x001c,0x0000,0x0000, (long)"  3  Utility 3  ",   0,   4,  20,   1},
  128.   {  26,  -1,  -1,0x001c,0x0000,0x0000, (long)"  B  Binary->C  ",   0,   1,  20,   1},
  129.   {  27,  -1,  -1,0x001c,0x0000,0x0008, (long)"--------------------",   0,   0,  20,   1},
  130.   {  28,  -1,  -1,0x001c,0x0000,0x0000, (long)"  2  Utility 2  ",   0,   3,  20,   1},
  131.   {  29,  -1,  -1,0x001c,0x0000,0x0000, (long)"  1  Utility 1  ",   0,   2,  20,   1},
  132.   {  23,  -1,  -1,0x001c,0x0020,0x0008, (long)"--------------------",   0,   5,  20,   1},
  133.   /* Tree #1*/
  134.   {  -1,   1,   1,0x0014,0x0000,0x0000, 0x000211f1L,1792,2560,  36,  17},
  135.   {   0,   2,  15,0x0014,0x0000,0x0000, 0x00011141L,   1,2048,  34,  16},
  136.   {   4,   3,   3,0x0014,0x0000,0x0000, 0x000111b1L,   1,2048,  32,2050},
  137.   {   2,  -1,  -1,0x0016,0x0000,0x0000, (long)&rs_tedinfo[0],   1,2048,  30,2049},
  138.   {   6,   5,   5,0x0014,0x0000,0x0000, 0x000111d1L,   1,2051,  32,2050},
  139.   {   4,  -1,  -1,0x0016,0x0000,0x0000, (long)&rs_tedinfo[1],   1,2048,  30,2049},
  140.   {   9,   7,   8,0x0014,0x0000,0x0000, 0x000111e1L,   1,2054,  32,   2},
  141.   {   8,  -1,  -1,0x001d,0x0008,0x0000, (long)&rs_tedinfo[2],   1,2048,  30,2048},
  142.   {   6,  -1,  -1,0x001d,0x0008,0x0000, (long)&rs_tedinfo[3],   1,   1,  30,2048},
  143.   {  11,  10,  10,0x0014,0x0000,0x0020, 0x00011181L,1025,   9,  15,2054},
  144.   {   9,  -1,  -1,0x0017,0x0043,0x0000, (long)&rs_bitblk[0],   1,2048,  13,2053},
  145.   {